package com.globant.tab; 

import com.globant.tab.R;

import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.ListView;

public class PlaceTabActivity extends CommonTabActivity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_place_tab);
        
		final String[] datos =  getResources().getStringArray(R.array.places);
		ArrayAdapter<String> adaptador = new ArrayAdapter<String>(this,
				R.layout.place_info, datos);
		

		ListView placeList = (ListView) findViewById(R.id.placeList);
		placeList.addHeaderView(createHeader());
		placeList.setAdapter(adaptador);
        
    }

}

